<?php
namespace app\admin\validate;
use think\Validate;
class About extends Validate
{

    protected $rule=[
        'title'=>'require',
      
        'content'=>'require',
    ];


    protected $message=[
        'title.require'=>'关于页标题不得为空！',
       
        'content.require'=>'关于页内容不得为空！',
    ];

    protected $scene=[
        'add'=>['title','content'],
        'edit'=>['title'],
    ];





    

    




   

	












}
